
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>pycharm安装及配置 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="pycharm使用.html" />
    
    
    <link rel="prev" href="../阶段一笔记/6.vi命令.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">笔记</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../阶段一笔记/1.操作系统——特殊的软件.html">
            
                <a href="../阶段一笔记/1.操作系统——特殊的软件.html">
            
                    
                    1.操作系统——特殊的软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../阶段一笔记/2.命令.html">
            
                <a href="../阶段一笔记/2.命令.html">
            
                    
                    2.命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../阶段一笔记/3.SSH客户端的简单使用.html">
            
                <a href="../阶段一笔记/3.SSH客户端的简单使用.html">
            
                    
                    3.SSH客户端的简单使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../阶段一笔记/4.用户权限相关命令.html">
            
                <a href="../阶段一笔记/4.用户权限相关命令.html">
            
                    
                    4.用户权限相关命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../阶段一笔记/5.系统信息相关命令.html">
            
                <a href="../阶段一笔记/5.系统信息相关命令.html">
            
                    
                    5.系统信息相关命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../阶段一笔记/6.vi命令.html">
            
                <a href="../阶段一笔记/6.vi命令.html">
            
                    
                    6.vi命令
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">软件安装及其使用</li>
        
        
    

    
        
        <li class="header">pycharm</li>
        
        
    
        <li class="chapter active" data-level="3.1" data-path="pycharm安装及配置.html">
            
                <a href="pycharm安装及配置.html">
            
                    
                    pycharm安装及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="pycharm使用.html">
            
                <a href="pycharm使用.html">
            
                    
                    pycharm使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="pycharm激活问题.html">
            
                <a href="pycharm激活问题.html">
            
                    
                    pycharm激活问题
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">电子书搭建</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="gitbook安装.html">
            
                <a href="gitbook安装.html">
            
                    
                    gitbook安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" >
            
                <span>
            
                    
                    git
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="git简要.html">
            
                <a href="git简要.html">
            
                    
                    git简要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="git安装及使用.html">
            
                <a href="git安装及使用.html">
            
                    
                    git安装及使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="git分支管理.html">
            
                <a href="git分支管理.html">
            
                    
                    git分支管理
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="github使用.html">
            
                <a href="github使用.html">
            
                    
                    github使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="../搭建/gitee远程仓库搭建.html">
            
                <a href="../搭建/gitee远程仓库搭建.html">
            
                    
                    gitee远程仓库搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="../搭建/客户端与服务端的搭建.html">
            
                <a href="../搭建/客户端与服务端的搭建.html">
            
                    
                    客户端与服务端的搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6" >
            
                <span>
            
                    
                    问题
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.6.1" data-path="../搭建/gitbook build没有summary.html">
            
                <a href="../搭建/gitbook build没有summary.html">
            
                    
                    gitbook build没有summary
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.2" data-path="../问题/typora结合picgo实现上传图片到gitee.html">
            
                <a href="../问题/typora结合picgo实现上传图片到gitee.html">
            
                    
                    typora结合picgo实现上传图片到gitee
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">软件工具</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="anaconda下载与使用.html">
            
                <a href="anaconda下载与使用.html">
            
                    
                    anaconda下载与配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="anaconda的使用.html">
            
                <a href="anaconda的使用.html">
            
                    
                    anaconda的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="python3.6.4下载与安装.html">
            
                <a href="python3.6.4下载与安装.html">
            
                    
                    python3.6.4下载与安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="typora安装及配置.html">
            
                <a href="typora安装及配置.html">
            
                    
                    typora安装及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="ubuntu  tool安装.html">
            
                <a href="ubuntu  tool安装.html">
            
                    
                    ubuntu  tool安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="Jetbrains系列产品重置试用方法.html">
            
                <a href="Jetbrains系列产品重置试用方法.html">
            
                    
                    Jetbrains系列产品重置试用方法
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">python学习</li>
        
        
    

    
        
        <li class="header">面对过程</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="../python面对过程学习/0.python学习.html">
            
                <a href="../python面对过程学习/0.python学习.html">
            
                    
                    0.python学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="../python面对过程学习/1.python简介.html">
            
                <a href="../python面对过程学习/1.python简介.html">
            
                    
                    1.python简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="../python面对过程学习/2.python程序no.1.html">
            
                <a href="../python面对过程学习/2.python程序no.1.html">
            
                    
                    2.python程序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.4" data-path="../python面对过程学习/3.多文件项目的演练.html">
            
                <a href="../python面对过程学习/3.多文件项目的演练.html">
            
                    
                    3.多文件项目的演练
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.5" data-path="../python面对过程学习/4.程序注释.html">
            
                <a href="../python面对过程学习/4.程序注释.html">
            
                    
                    4.程序注释
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.6" data-path="../python面对过程学习/5.算数运算符.html">
            
                <a href="../python面对过程学习/5.算数运算符.html">
            
                    
                    5.算数运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.7" data-path="../python面对过程学习/6.程序执行原理（科普）.html">
            
                <a href="../python面对过程学习/6.程序执行原理（科普）.html">
            
                    
                    6.程序执行原理（科普）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.8" data-path="../python面对过程学习/7.变量的基本使用.html">
            
                <a href="../python面对过程学习/7.变量的基本使用.html">
            
                    
                    7.变量的基本使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.9" data-path="../python面对过程学习/8.变量的命名.html">
            
                <a href="../python面对过程学习/8.变量的命名.html">
            
                    
                    8.变量的命名
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.10" data-path="../python面对过程学习/9.判断（if）语句.html">
            
                <a href="../python面对过程学习/9.判断（if）语句.html">
            
                    
                    9.判断（if）语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.11" data-path="../python面对过程学习/10.运算符.html">
            
                <a href="../python面对过程学习/10.运算符.html">
            
                    
                    10.运算符.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.12" data-path="../python面对过程学习/11.循环.html">
            
                <a href="../python面对过程学习/11.循环.html">
            
                    
                    11.循环.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.13" data-path="../python面对过程学习/12.函数基础.html">
            
                <a href="../python面对过程学习/12.函数基础.html">
            
                    
                    12.函数基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.14" data-path="../python面对过程学习/13.高级变量类型.html">
            
                <a href="../python面对过程学习/13.高级变量类型.html">
            
                    
                    13.函数基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.15" data-path="../python面对过程学习/14.综合应用 —— 名片管理系统.html">
            
                <a href="../python面对过程学习/14.综合应用 —— 名片管理系统.html">
            
                    
                    14.综合应用 —— 名片管理系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.16" data-path="../python面对过程学习/15.变量进阶（理解）.html">
            
                <a href="../python面对过程学习/15.变量进阶（理解）.html">
            
                    
                    15.变量进阶（理解）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.17" data-path="../python面对过程学习/16.函数进阶.html">
            
                <a href="../python面对过程学习/16.函数进阶.html">
            
                    
                    16.函数进阶
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">面对对象</li>
        
        
    
        <li class="chapter " data-level="8.1" data-path="../课余/编程exe.html">
            
                <a href="../课余/编程exe.html">
            
                    
                    编程exe
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">问题</li>
        
        
    
        <li class="chapter " data-level="9.1" data-path="../问题/安装软件.html">
            
                <a href="../问题/安装软件.html">
            
                    
                    安装软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.2" data-path="../问题/激活码网站.html">
            
                <a href="../问题/激活码网站.html">
            
                    
                    激活码网站
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.3" data-path="../问题/虚拟机.html">
            
                <a href="../问题/虚拟机.html">
            
                    
                    虚拟机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.4" data-path="../问题/疑难杂症.html">
            
                <a href="../问题/疑难杂症.html">
            
                    
                    疑难杂症
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >pycharm安装及配置</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <p>&#x6709;&#x4E24;&#x4E2A;&#x7248;&#x672C;&#xFF1A;  professional&#x4E13;&#x4E1A;&#x7248;     Community &#x793E;&#x533A;&#x7248;</p>
<h2 id="ubuntu&#x5B89;&#x88C5;pycharm&#x4E13;&#x4E1A;&#x7248;">ubuntu&#x5B89;&#x88C5;pycharm&#x4E13;&#x4E1A;&#x7248;</h2>
<h5 id="1&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;">1.&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;</h5>
<p>&#x5728;&#x5B98;&#x7F51;&#x4E0B;&#x8F7D;&#x5B89;&#x88C5;&#x5305;<a href="https://www.jetbrains.com/pycharm/download/#section=linux" target="_blank">https://www.jetbrains.com/pycharm/download/#section=linux</a></p>
<p>&#x89E3;&#x538B;&#x5B89;&#x88C5;&#x5305;</p>
<p><code>tar -zxvf pycharm-professional-2020.1.tar.gz</code> </p>
<p>&#x65B0;&#x5EFA;&#x76EE;&#x5F55; &#x5B89;&#x653E;&#x89E3;&#x538B;&#x6587;&#x4EF6;</p>
<pre><code>sudo mkdir /opt/pycharm
sudo mv pycharm-2020.1/ /opt/pycharm/
cd /opt/pycharm/
ls
</code></pre><p>&#x200B;        /opt &#xFF1A;&#x7ED9;&#x4E3B;&#x673A;&#x989D;&#x5916;&#x5B89;&#x88C5;&#x8F6F;&#x4EF6;&#x6240;&#x6446;&#x653E;&#x7684;&#x76EE;&#x5F55;</p>
<p>&#x200B;        &#x663E;&#x793A;</p>
<p>&#x200B;            <img src="https://gitee.com/lichaikui/picture/raw/master/tupian/image-20211201120209272.png" alt="image-20211201120209272" style="zoom:50%;"></p>
<p>&#x200B;        &#x5219;&#x5B89;&#x88C5;&#x5B8C;&#x6BD5;</p>
<h5 id="2&#x542F;&#x52A8;&#x548C;&#x914D;&#x7F6E;-pycharm">2.&#x542F;&#x52A8;&#x548C;&#x914D;&#x7F6E; Pycharm</h5>
<h6 id="1&#xFF09;&#x542F;&#x52A8;pycharm">1&#xFF09;.&#x542F;&#x52A8;Pycharm</h6>
<p><code>sh /opt/pycharm/pycharm-2020.1/bin/pycharm.sh</code></p>
<h6 id="2&#x7A0D;&#x540E;&#x4F1A;&#x5F39;&#x51FA;&#x4E00;&#x4E2A;&#x7A97;&#x53E3;&#xFF0C;&#x9009;&#x62E9;&#x540C;&#x610F;&#xFF0C;&#x7136;&#x540E;continue">2).&#x7A0D;&#x540E;&#x4F1A;&#x5F39;&#x51FA;&#x4E00;&#x4E2A;&#x7A97;&#x53E3;&#xFF0C;&#x9009;&#x62E9;&#x540C;&#x610F;&#xFF0C;&#x7136;&#x540E;Continue</h6>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/image-20211201120413238.png" alt="image-20211201120413238"></p>
<h6 id="3&#x3001;&#x6FC0;&#x6D3B;pycharm">3)&#x3001;&#x6FC0;&#x6D3B;pycharm</h6>
<p>&#x200B;        &#x9009;&#x62E9;&#x4E2D;&#x95F4;&#x7684;Activation code</p>
<pre><code>     &#x5C06;&#x6FC0;&#x6D3B;&#x7801;&#x7C98;&#x8FDB;&#x53BB;&#xFF0C;&#x786E;&#x5B9A;&#x5C31;&#x597D;&#x4E86;
</code></pre><pre><code>&#x94FE;&#x63A5;&#xFF1A;https://pan.baidu.com/s/16kgyipATPndapfyCtCuOfg 
&#x63D0;&#x53D6;&#x7801;&#xFF1A;0000 
--&#x6765;&#x81EA;&#x767E;&#x5EA6;&#x7F51;&#x76D8;&#x8D85;&#x7EA7;&#x4F1A;&#x5458;V1&#x7684;&#x5206;&#x4EAB;
</code></pre><h6 id="4&#x9009;&#x62E9;&#x53EF;&#x7528;&#x547D;&#x4EE4;&#x884C;&#x542F;&#x52A8;pycharm">4).&#x9009;&#x62E9;&#x53EF;&#x7528;&#x547D;&#x4EE4;&#x884C;&#x542F;&#x52A8;Pycharm</h6>
<p>&#x4E5F;&#x5C31;&#x662F;&#x4EE5;&#x540E;&#x53EF;&#x4EE5;&#x5728;&#x7EC8;&#x7AEF;&#x4E2D;&#x76F4;&#x63A5;&#x8F93;&#x5165;<code>pycharm</code>&#xFF0C;&#x56DE;&#x8F66;&#x540E;&#x5C31;&#x542F;&#x52A8; Pycharm</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/4c8kcyeak6.jpeg" alt="4c8kcyeak6"></p>
<blockquote>
<p>5).&#x53EF;&#x9009;&#x62E9;&#x5B89;&#x88C5;&#x4E00;&#x4E9B;&#x63D2;&#x4EF6;</p>
<p>&#x8FD9;&#x4E2A;&#x770B;&#x4E2A;&#x4EBA;&#x9700;&#x8981;&#xFF0C;&#x6211;&#x5C31;&#x6CA1;&#x6709;&#x9009;&#x62E9;&#xFF1B;&#x5982;&#x679C;&#x4EE5;&#x540E;&#x9700;&#x8981;&#xFF0C;&#x4E5F;&#x53EF;&#x4EE5;&#x5728;IDE&#x4E2D;&#x5B89;&#x88C5;&#x7684;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/nni5dgndkt.jpeg" alt="nni5dgndkt"></p>
</blockquote>
<h6 id="6&#x6211;&#x4EEC;&#x5148;&#x4E0D;&#x7528;&#x7740;&#x6025;&#x8FDB;&#x5165;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;&#x8FD9;&#x91CC;&#x8BBE;&#x7F6E;&#x684C;&#x9762;&#x56FE;&#x6807;&#xFF0C;&#x8FD9;&#x65B9;&#x4FBF;&#x6211;&#x4EEC;&#x6253;&#x5F00;pycharm&#xFF0C;&#x6BD4;&#x547D;&#x4EE4;&#x884C;&#x597D;&#x4F7F;">6).&#x6211;&#x4EEC;&#x5148;&#x4E0D;&#x7528;&#x7740;&#x6025;&#x8FDB;&#x5165;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;&#x8FD9;&#x91CC;&#x8BBE;&#x7F6E;&#x684C;&#x9762;&#x56FE;&#x6807;&#xFF0C;&#x8FD9;&#x65B9;&#x4FBF;&#x6211;&#x4EEC;&#x6253;&#x5F00;Pycharm&#xFF0C;&#x6BD4;&#x547D;&#x4EE4;&#x884C;&#x597D;&#x4F7F;</h6>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/9699xy7hls.jpeg" alt="9699xy7hls"></p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/au3kv5zc34.jpeg" alt="au3kv5zc34"></p>
<blockquote>
<p>&#x2014;&#x2014;&#x82E5;&#x9519;&#x8FC7;  &#x5219;</p>
<p>&#x5728;&#x684C;&#x9762;&#x4E0A;&#x521B;&#x5EFA;pycharm&#x5FEB;&#x6377;&#x65B9;&#x5F0F;</p>
<p><code>sudo gedit /usr/share/applications/pycharm.desktop</code></p>
<p>&#x590D;&#x5236;&#x7C98;&#x8D34;&#x4E0B;&#x9762;&#x6587;&#x5B57;  &#x82E5;&#x8DEF;&#x5F84;&#x4E0D;&#x540C;&#x81EA;&#x4E3B;&#x66F4;&#x6539;</p>
<pre><code>[Desktop Entry]
Version=1.0
Type=Application
Name=Pycharm
Icon=/opt/pycharm/pycharm-2021.2.3/bin/pycharm.png
Exec=sh /opt/pycharm/pycharm-2021.2.3/bin/pycharm.sh
MimeType=application/x-py;
Name[en_US]=pycharm
</code></pre></blockquote>
<h2 id="&#x2014;&#x2014;&#x914D;&#x7F6E;-python-&#x73AF;&#x5883;">&#x2014;&#x2014;<strong>&#x914D;&#x7F6E; Python &#x73AF;&#x5883;</strong></h2>
<p>&#x5982;&#x679C;&#x73B0;&#x5728;&#x7740;&#x6025;&#x6253;&#x5F00;Pycharm&#x65B0;&#x5EFA;&#x5DE5;&#x7A0B;&#x7684;&#x8BDD;&#xFF0C;&#x53EF;&#x80FD;&#x4F1A;&#x521B;&#x5EFA;&#x5931;&#x8D25;&#xFF0C;&#x4F1A;&#x62A5;&#x9519;&#xFF0C; &#x6BD4;&#x5982;&#x201C;&#x9519;&#x8BEF;&#x63D0;&#x793A;&#xFF1A;ModuleNotFoundError: No module named &#x2018;distutils.util&#x2019; &#x201D;&#xFF0C;&#x8FD9;&#x660E;&#x663E;&#x662F;&#x56E0;&#x4E3A;&#x6CA1;&#x6709;&#x5B89;&#x88C5;&#x4E00;&#x4E9B;&#x6A21;&#x5757;&#x3002;&#x6211;&#x4EEC;&#x5148;&#x6765;&#x5B89;&#x88C5;&#x4E00;&#x4E9B;&#x5E38;&#x89C1;&#x7684;&#x4E1C;&#x4E1C;&#xFF1A;</p>
<pre><code>erry@jerry-virtual-machine:~/Desktop$ sudo apt install python3-pip
jerry@jerry-virtual-machine:~/Desktop$ sudo apt-get install python3-distutils
</code></pre><h2 id="&#x65B0;&#x5EFA;&#x5DE5;&#x7A0B;"><strong>&#x65B0;&#x5EFA;&#x5DE5;&#x7A0B;</strong></h2>
<p>&#x914D;&#x7F6E;&#x5B8C;&#x6210;&#xFF0C;&#x754C;&#x9762;&#x5982;&#x4E0B;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620110859249-2019280329.png" alt="img"></p>
<h6 id="1&#x521B;&#x5EFA;&#x9879;&#x76EE;">1.&#x521B;&#x5EFA;&#x9879;&#x76EE;</h6>
<p>&#x521B;&#x5EFA; Python &#x9879;&#x76EE;</p>
<p>&#x8FD9;&#x91CC;&#x9009;&#x62E9;New Project</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620110911415-539828827.png" alt="img"></p>
<ol>
<li>&#x8BBE;&#x7F6E;&#x9879;&#x76EE;&#x540D;&#x79F0;&#x548C;&#x9009;&#x62E9;&#x89E3;&#x91CA;&#x5668;&#xFF08;&#x5373;python.exe&#xFF09;</li>
</ol>
<p>&#x5982;&#x679C;&#x51FA;&#x73B0; No Python interpreter selected &#x8868;&#x793A; Python &#x7684;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x6709;&#x95EE;&#x9898;&#x3002;&#x8FD9;&#x91CC;&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x81EA;&#x5DF1;&#x7684;&#x89E3;&#x91CA;&#x5668;</p>
<p>&#x6CE8;&#x610F;&#xFF1A;&#x8FD9;&#x91CC;&#x9ED8;&#x8BA4;&#x4F7F;&#x7528;&#x7684; Python &#x7684;&#x865A;&#x62DF;&#x73AF;&#x5883;&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x4E0D;&#x4F7F;&#x7528;&#x865A;&#x62DF;&#x73AF;&#x5883;&#xFF0C;&#x4E00;&#x5B9A;&#x8981;&#x4FEE;&#x6539;&#x3002;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620110931357-1632831058.png" alt="img"></p>
<p> 3.&#x9009;&#x62E9;&#x7CFB;&#x7EDF;&#x89E3;&#x91CA;&#x5668;&#xFF0C;&#x627E;&#x5230;&#x4F60;&#x5B89;&#x88C5;&#x7684; Python &#x76EE;&#x5F55;&#xFF0C;&#x70B9;&#x51FB;OK</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620110941531-837535357.png" alt="img"></p>
<p> &#x7136;&#x540E;&#x70B9;&#x51FB; Create &#x5373;&#x53EF;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620111033910-693057323.png" alt="img"></p>
<p>4.&#x90A3;&#x4E48;&#x73B0;&#x5728;&#x9879;&#x76EE;&#x5C31;&#x521B;&#x5EFA;&#x6210;&#x529F;&#x4E86;&#xFF0C;&#x53BB;&#x6389; Show tips on startup&#xFF0C;&#x4E0D;&#x7528;&#x6BCF;&#x6B21;&#x90FD;&#x6253;&#x5F00;&#x6B22;&#x8FCE;&#x754C;&#x9762;&#xFF0C;&#x7136;&#x540E;&#x5173;&#x95ED;&#x5373;&#x53EF;&#x3002;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620111050806-9939775.png" alt="img"></p>
<p> 5.&#x6D4B;&#x8BD5;&#x8FD0;&#x884C;</p>
<p>Python &#x6587;&#x4EF6;</p>
<p>&#x521A;&#x624D;&#x6211;&#x4EEC;&#x521B;&#x5EFA;&#x9879;&#x76EE;&#x7684;&#x65F6;&#x5019;&#xFF0C;&#x9ED8;&#x8BA4;&#x52FE;&#x9009;&#x4E86;Create a main.py welcome script&#xFF0C;PyCharm&#x9ED8;&#x8BA4;&#x4F1A;&#x5E2E;&#x6211;&#x4EEC;&#x521B;&#x5EFA;main.py&#x6587;&#x4EF6;&#xFF0C;&#x952E;&#x76D8;&#x8F93;&#x5165;Shift+F10&#xFF0C;&#x5373;&#x53EF;&#x8FD0;&#x884C;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620111101414-585434817.png" alt="img"></p>
<p> &#x8F93;&#x51FA;&#x7ED3;&#x679C;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/2376234-20210620111109748-573228000.png" alt="img"></p>
<h2 id="&#x4F18;&#x5316;-pycharm"><strong>&#x4F18;&#x5316; Pycharm</strong></h2>
<h6 id="1&#x914D;&#x7F6E;&#x5B57;&#x4F53;">1.&#x914D;&#x7F6E;&#x5B57;&#x4F53;</h6>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/jn02g6t2g9.jpeg" alt="jn02g6t2g9"></p>
<h6 id="2&#x5B89;&#x88C5;&#x63D2;&#x4EF6;">2.&#x5B89;&#x88C5;&#x63D2;&#x4EF6;</h6>
<p>&#x6211;&#x4EEC;&#x5728;&#x5B89;&#x88C5; Pycharm &#x65F6;&#xFF0C;&#x6709;&#x4E2A;&#x754C;&#x9762;&#x662F;&#x9009;&#x62E9;&#x8981;&#x5B89;&#x88C5;&#x7684;&#x63D2;&#x4EF6;&#x3002;&#x5176;&#x5B9E;&#xFF0C;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x81EA;&#x5DF2;&#x6765;&#x5B89;&#x88C5;&#xFF0C;&#x6253;&#x5F00;&#x8DEF;&#x5F84;&#x662F;&#xFF1A;file &#x2014;  settings &#x2014;  plugings</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/b3uzh3ilpg.jpeg" alt="b3uzh3ilpg">&#x5B89;&#x88C5;&#x63D2;&#x4EF6;&#x5341;&#x5206;&#x7B80;&#x5355;&#xFF0C;&#x5982;&#x5B89;&#x88C5; statistic:    </p>
<p>&#x200B;    <img src="https://gitee.com/lichaikui/picture/raw/master/tupian/o6ehl4o7xu.jpeg" alt="o6ehl4o7xu" style="zoom:80%;"></p>
<p>&#x5408;&#x9002;&#x7684;&#x63D2;&#x4EF6;&#xFF0C;&#x4F1A;&#x8BA9; Pycharm &#x5982;&#x864E;&#x6DFB;&#x7FFC;&#x3002;&#x5173;&#x4E8E;&#x63D2;&#x4EF6;&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x8FD9;&#x91CC;&#x5C31;&#x4E0D;&#x5177;&#x4F53;&#x5C55;&#x5F00;&#x4E86;&#xFF0C;&#x53EA;&#x662F;&#x7F57;&#x5217;&#x4E00;&#x4E9B;&#x5927;&#x795E;&#x63A8;&#x8350;&#x7684;&#x63D2;&#x4EF6;&#xFF1A;</p>
<p>&#xFF08;1&#xFF09;statistic&#xFF1A; &#x9879;&#x76EE;&#x7EDF;&#x8BA1; </p>
<p>&#xFF08;2&#xFF09;Rainbow Brackets&#xFF1A;&#x8BA9;&#x4EE3;&#x7801;&#x5757;&#x4E4B;&#x95F4;&#x5F88;&#x6E05;&#x6670;&#x7684;&#x663E;&#x793A;&#x51FA;&#x5404;&#x79CD;&#x989C;&#x8272; </p>
<p>&#xFF08;3&#xFF09;.ignore&#xFF1A;&#x4F7F;&#x7528;git&#x7684;&#x4EBA;&#x77E5;&#x9053;&#xFF0C;&#x4E5F;&#x5C31;&#x662F;.gitignore</p>
<p><strong><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/70-163842497552167.png" alt="&#x8FD9;&#x91CC;&#x5199;&#x56FE;&#x7247;&#x63CF;&#x8FF0;"></strong></p>
<h2 id="&#x6C49;&#x5316;pycharm">&#x6C49;&#x5316;pycharm</h2>
<h6 id="&#x65B9;&#x6CD5;&#x4E00;&#xFF1A;">&#x65B9;&#x6CD5;&#x4E00;&#xFF1A;</h6>
<p>&#x6253;&#x5F00;pycharm
&#x70B9;&#x51FB; Edit&#x2014;&gt;&gt;&gt;Settings<img src="https://gitee.com/lichaikui/picture/raw/master/tupian/0726871d7ae4bcd7f7cff04dffed06a5.png" alt="0726871d7ae4bcd7f7cff04dffed06a5"></p>
<p>&#x7136;&#x540E;&#x70B9;&#x51FB; Plugins&#x2014;&gt;&gt;&gt;Marketplace
&#x627E;&#x5230;Chinese&#xFF08;simplified&#xFF09;Language&#xFF0C;&#x518D;&#x70B9;&#x51FB;Install
<img src="https://gitee.com/lichaikui/picture/raw/master/tupian/a96fae32e94d98dd260953c94319cd14.png" alt="a96fae32e94d98dd260953c94319cd14"></p>
<p>&#x7CFB;&#x7EDF;&#x4F1A;&#x63D0;&#x793A;&#x91CD;&#x542F;&#xFF0C;&#x6211;&#x4EEC;&#x91CD;&#x542F;&#x5373;&#x53EF;</p>
<h6 id="&#x65B9;&#x6CD5;&#x4E8C;&#xFF1A;">&#x65B9;&#x6CD5;&#x4E8C;&#xFF1A;</h6>
<p>&#x5982;&#x679C;&#x641C;&#x4E0D;&#x5230;&#x5462;&#xFF0C;&#x50CF;&#x4E0B;&#x9762;&#x8FD9;&#x6837; Nothing&#xFF0C;found&#xFF0C;&#x4E5F;&#x6CA1;&#x6709;&#x5173;&#x7CFB;&#xFF0C;&#x6211;&#x4EEC;&#x8FD8;&#x6709;&#x7B2C;&#x4E8C;&#x79CD;&#x65B9;&#x6CD5;&#xFF0C;&#x6211;&#x4EEC;&#x624B;&#x52A8;&#x5B89;&#x88C5;<img src="https://gitee.com/lichaikui/picture/raw/master/tupian/f85ee0a86fe240822151252065612818.png" alt="f85ee0a86fe240822151252065612818"></p>
<p>&#x53BB;&#x8FD9;&#x4E2A;PyCharm&#x5B98;&#x65B9;Marketplace&#xFF0C;&#x7ECF;&#x9A8C;&#x5FC3;&#x5F97;&#xFF0C;pycharm&#x641C;&#x4E0D;&#x5230;&#x7684;&#xFF0C;&#x4F60;&#x6765;&#x8FD9;
PyCharm&#x5B98;&#x65B9;Marketplace&#x94FE;&#x63A5;&#xFF1A;<a href="https://plugins.jetbrains.com/" target="_blank">https://plugins.jetbrains.com/</a>.</p>
<p>&#x8FD9;&#x4E2A;&#x5C31;&#x662F;PyCharm&#x4E2D;&#x6587;&#x8BED;&#x8A00;&#x5305;&#x7684;&#x76F4;&#x8FBE;&#x94FE;&#x63A5;
&#x94FE;&#x63A5;: Chinese (Simplified) Language Pack / &#x4E2D;&#x6587;&#x8BED;&#x8A00;&#x5305;.</p>
<p>&#x70B9;&#x51FB;&#x94FE;&#x63A5;&#x76F4;&#x8FBE;&#xFF0C;&#x5982;&#x679C;&#x6B64;&#x65F6;&#x4F60;&#x7684;pycharm&#x6CA1;&#x6709;&#x6253;&#x5F00;&#xFF0C;&#x90A3;&#x4E48;&#x6211;&#x4EEC;&#x5C31;&#x70B9;&#x51FB;Get&#xFF0C;&#x7136;&#x540E;&#x627E;&#x5230;&#x4E0E;&#x4F60;pycharm&#x7248;&#x672C;&#x5BF9;&#x5E94;&#x7684;&#x8BED;&#x8A00;&#x5305;&#x4E0B;&#x8F7D;&#x5373;&#x53EF;&#xFF08;&#x4E00;&#x5B9A;&#x8981;&#x4E0E;&#x81EA;&#x5DF1;&#x7684;pycharm&#x7248;&#x672C;&#x4E00;&#x81F4;&#xFF09;<img src="https://gitee.com/lichaikui/picture/raw/master/tupian/90c79ea3b9970466dce119cacf300b92-163834415729243.png" alt="90c79ea3b9970466dce119cacf300b92"></p>
<p>&#x5982;&#x679C;&#x6B64;&#x65F6;&#x4F60;pycharm&#x6B63;&#x5728;&#x6253;&#x5F00;&#xFF0C;&#x90A3;&#x4E48;&#x53EF;&#x80FD;&#x5C31;&#x662F;&#x8FD9;&#x6837;&#xFF0C;&#x4E0D;&#x7528;&#x4F60;&#x81EA;&#x5DF1;&#x9009;&#x62E9;&#x7248;&#x672C;&#xFF0C;&#x4F1A;&#x76F4;&#x63A5;&#x81EA;&#x52A8;&#x5339;&#x914D;&#x4E0E;&#x4F60;pycharm&#x7248;&#x672C;&#x4E00;&#x81F4;&#x7684;&#x4E2D;&#x6587;&#x8BED;&#x8A00;&#x5305;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/e7731bee9af4e3eb14952cd944c870f0.png" alt="e7731bee9af4e3eb14952cd944c870f0"></p>
<p>&#x6211;&#x4EEC;&#x76F4;&#x63A5;&#x66B4;&#x529B;&#x70B9;&#x51FB; Install &#x5373;&#x53EF;</p>
<h1 id="widows&#x5B89;&#x88C5;pycharm">widows&#x5B89;&#x88C5;pycharm</h1>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/feb86f41cddb277e4a38d1525ae055c.png" alt="feb86f41cddb277e4a38d1525ae055c"></p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/d8fd0dfe1a1acbad45022a9f041fa58.png" alt="d8fd0dfe1a1acbad45022a9f041fa58"></p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/70-163842497552165.png" alt="img"></p>
<p>&#x5B89;&#x88C5;&#x6210;&#x529F;&#x540E;&#x6211;&#x4EEC;&#x6253;&#x5F00;&#x4F7F;&#x7528;&#x4E00;&#x4E0B;&#xFF1A;</p>
<p>&#x9009;&#x62E9;&#x7B2C;&#x4E8C;&#x4E2A;</p>
<p><img src="https://gitee.com/lichaikui/picture/raw/master/tupian/70-163842497552166.png" alt="img"></p>
<h1 id="&#x6FC0;&#x6D3B;pycharm">&#x6FC0;&#x6D3B;pycharm</h1>
<p>1.&#x4FEE;&#x6539;hosts&#x6587;&#x4EF6;&#xFF1A;</p>
<ul>
<li><p>&#x5728;&#x7CFB;&#x7EDF;C&#x76D8;&#x4E2D;&#x627E;&#x5230;   <strong>hosts&#x6587;&#x4EF6;</strong>  </p>
</li>
<li><p>&#x4E00;&#x822C;   windwos&#x7CFB;&#x7EDF;hosts&#x6587;&#x4EF6; &#x8DEF;&#x5F84;&#x4E3A;&#xFF1A;<strong>C:\Windows\System32\drivers\etc</strong></p>
</li>
<li><p>&#x5C06;hosts&#x6587;&#x4EF6;   <strong>&#x590D;&#x5236;   &#x5230;&#x53E6;&#x4E00;&#x4E2A;&#x5730;&#x65B9;</strong>&#xFF0C; &#x4E0D;&#x8981;&#x76F4;&#x63A5;&#x4FEE;&#x6539;    &#x6DFB;&#x52A0;&#x4E0B;&#x9762;&#x4E00;&#x884C;&#x5230;hosts&#x6587;&#x4EF6;&#xFF0C;&#x76EE;&#x7684;&#x662F;&#x5C4F;&#x853D;&#x6389;Pycharm&#x5BF9;&#x6FC0;&#x6D3B;&#x7801;&#x7684;&#x9A8C;&#x8BC1;&#xFF1A;</p>
<pre><code class="lang-undefined">     0.0.0.0 account. jetbrains. com
</code></pre>
</li>
</ul>
<p>&#x200B;                &#x5C06;&#x8FD9;&#x4E00;&#x884C;<strong>&#x590D;&#x5236;&#x5230;&#x8BE5;&#x6587;&#x4EF6;&#x7684;&#x6700;&#x4E0B;&#x9762;&#x4E00;&#x884C;</strong>&#x5373;&#x53EF;&#xFF0C;&#x4FDD;&#x5B58;&#xFF0C;&#x7136;&#x540E;&#x5C06;&#x4FEE;&#x6539;&#x540E;&#x7684;&#x6587;&#x4EF6;&#x590D;                &#x5236;&#x7C98;&#x8D34;<strong>&#x66FF;&#x6362;&#x539F;hosts&#x6587;&#x4EF6;</strong>&#x3002; &#x8986;&#x76D6;&#x539F;&#x6765;&#x7684;&#x5373;&#x53EF;</p>
<ul>
<li><p>&#x6253;&#x5F00;PyCharm&#xFF0C;&#x9009;&#x62E9; Activate code&#xFF08;&#x7528;&#x6FC0;&#x6D3B;&#x7801;&#x6FC0;&#x6D3B;&#xFF09;</p>
<pre><code>&#x94FE;&#x63A5;&#xFF1A;https://pan.baidu.com/s/16kgyipATPndapfyCtCuOfg 
&#x63D0;&#x53D6;&#x7801;&#xFF1A;0000 
--&#x6765;&#x81EA;&#x767E;&#x5EA6;&#x7F51;&#x76D8;&#x8D85;&#x7EA7;&#x4F1A;&#x5458;V1&#x7684;&#x5206;&#x4EAB;
</code></pre></li>
<li><p>&#x5728;&#x590D;&#x5236;&#x4E0B;&#x8F7D;&#x6FC0;&#x6D3B;&#x7801;&#xFF0C;&#x586B;&#x5165;&#x6FC0;&#x6D3B;&#x7801;&#x6846; &#x70B9;&#x51FB; OK &#x8FDB;&#x884C;&#x8BA4;&#x8BC1;</p>
</li>
</ul>
<p>2.&#x770B;&#x4E0B;&#x4E00;&#x7BC7;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../阶段一笔记/6.vi命令.html" class="navigation navigation-prev " aria-label="Previous page: 6.vi命令">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="pycharm使用.html" class="navigation navigation-next " aria-label="Next page: pycharm使用">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"pycharm安装及配置","level":"3.1","depth":1,"next":{"title":"pycharm使用","level":"3.2","depth":1,"path":"阶段二笔记/pycharm使用.md","ref":"./阶段二笔记/pycharm使用.md","articles":[]},"previous":{"title":"6.vi命令","level":"1.7","depth":1,"path":"阶段一笔记/6.vi命令.md","ref":"./阶段一笔记/6.vi命令.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"阶段二笔记/pycharm安装及配置.md","mtime":"2022-01-10T16:19:03.063Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-03-24T13:44:59.630Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

